﻿using BLL;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Dryricenet.houTai
{
    public partial class order_Deliver : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
           
                int id = Convert.ToInt32(Request.QueryString["orderid"]);
            if (OrderBLL.ddSfzfBLL(id).ToString() == "已付款")
            {
                OrderBLL.orderGoodsBLL(id);
                Response.Redirect("order_CX.aspx");
            }
            else {
                Response.Write("<script>alert('此用户还未付款请勿着急发货！')</script>");

            }


        }
    }
}